//package net.dopan.pigframe.config.swagger;
//
//import net.dopan.pigframe.core.swagger.BaseSwagger2Config;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import springfox.documentation.spring.web.plugins.Docket;
//import springfox.documentation.swagger2.annotations.EnableSwagger2;
//
///**
// * @author: 刘宽
// */
//@EnableSwagger2
//@Configuration
//public class Swagger2Config extends BaseSwagger2Config {
//
//    @Value("${spring.application.name}")
//    private String applicationName;
//
//    @Bean
//    public Docket createRestApi() {
//        return createRestApi(applicationName, "v1.0");
//    }
//}
